package com.easemob.analytics;

public class EMTimeTag
{
  private long oldTime = 0L;
  private long timeSpent = 0L;

  public void start()
  {
    this.oldTime = System.currentTimeMillis();
  }

  public long stop()
  {
    this.timeSpent = (System.currentTimeMillis() - this.oldTime);
    return this.timeSpent;
  }

  public String timeStr()
  {
    return EMCollectorUtils.timeToString(this.timeSpent);
  }

  public long timeSpent()
  {
    return this.timeSpent;
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     com.easemob.analytics.EMTimeTag
 * JD-Core Version:    0.6.1
 */